﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Skynet.BusinessEntities
{
    [DataContract]
    [KnownType(typeof(BoolAlternative))]
    public abstract class BaseAlternative
    {
        [DataMember]
        public Guid Id { get; set; }
        [DataMember]
        public Guid CustomerAlternativeId { get; set; }
        [DataMember]
        public Guid QuestionId { get; set; }
        [DataMember]
        public Guid CustomerQuestionId { get; set; }
        [DataMember]
        public double  Score { get; set; }
        [DataMember]
        public ObjectState State { get; set; }

        public abstract string EvaluationKey();

    }
}
